package com.park.dao.mapper.notice;

import com.park.dao.base.TKMapper;
import com.park.entity.notice.OrderNotice;
import com.park.entity.notice.OrderNoticeVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ZhangHaiWen
 * @title: OrderNoticeMapper
 * @projectName park
 * @description: 商户用户通知
 * @date 2020/5/820:54
 */
@Component
public interface OrderNoticeMapper extends TKMapper<OrderNotice> {

    //查询范围内的通知订单
    List<OrderNoticeVo> getNotices(@Param("parkIds") List<Integer> parkIds);

    //更新通知状态
    void updateNotice(@Param("orderNoticeVos") List<OrderNoticeVo> orderNoticeVos);
}
